//
//  CommentCell.h
//  ZhiHuDaily
//
//  Created by albert on 16/8/18.
//  Copyright © 2016年 albert. All rights reserved.
//  评论的cell

#import <UIKit/UIKit.h>

@class CommentModel;
@class CommentCell;

@protocol CommentCellDelegate <NSObject>

@optional
/** 展开和收起引用评论 */
- (void)commentCell:(CommentCell *)cell didClickUnfoldButton:(UIButton *)button;

@end

@interface CommentCell : UITableViewCell
/** 模型数据 */
@property (nonatomic, strong) CommentModel *cmtModel;

/** 代理 */
@property (nonatomic, weak) id<CommentCellDelegate> delegate;

/** 计算引用评论label高度 */
- (CGFloat)calculateRefContentLabelHeightModel:(CommentModel *)cmtModel;

/** 点赞 */
- (void)zanClick;

- (void)changeToNightSkin;
- (void)changeToDaySkin;
@end
